package com.sz.biz.logistics.ord.dto;

import com.sz.biz.logistics.ord.entity.OrderStatus;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import java.util.Date;

/**
 * Package: com.sz.biz.logistics.ord.dto<br>
 * Function:  订单的附件dto <br>
 * Author: yanhong.xiao.<br>
 * Date: 2017-08-07 10:57:00.
 */
@Data
public class OrdOrderFileDto {

    private Integer id;
    private String orderNo;
    @NotBlank(message = "validate.notnull")
    private String code;
    /**
     * 文件类型的名称 , 和code对应
     */
    private String fileTypeName;
    @NotBlank(message = "validate.notnull")
    private String fileId;
    @NotBlank(message = "validate.notnull")
    private String fileName;
    private String desciption;
    private OrderStatus orderStatus;
    private String fileUrl;
    private String fileRandomName;
    /**
     * 文件类型
     */
    private String fileType;
    private Integer createUserType;
    private String createUserName;
    private Integer createUserId;
    private Integer lastUpdateUserId;
    private Date createTime;

}
